package com.wsoft.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 账号表
 * </p>
 *
 * @author juiet
 * @since 2024年09月03日 10:35:39
 */
@Getter
@Setter
@TableName("sys_account")
@Schema(name = "SysAccountEntity", description = "账号表")
public class SysAccountEntity extends BaseEntity {

    @Schema(description = "用户表")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "登录名")
    @TableField("login_name")
    private String loginName;

    @Schema(description = "登录账号")
    @TableField("login_pw")
    private String loginPw;

    @Schema(description = "布局风格(default,window)")
    @TableField("config_layout")
    private String configLayout;

    @Schema(description = "布局皮肤")
    @TableField("config_skin")
    private String configSkin;

    @Schema(description = "布局位置(left/right/top/bottom)")
    @TableField("config_location")
    private String configLocation;

    @Schema(description = "是否启用")
    @TableField("is_used")
    private Integer isUsed;
}
